/**
 * @author paim 13/05/2011
 */
package paim.wingchun.testes;

import java.text.Normalizer;

import org.apache.commons.lang3.StringUtils;

/**
 * @author paim 13/05/2011
 */
public class testeString {

    public static void main(String[] args) {
        String input = "Ã§alÃ¡da";
        input = "jÃ£ogÃÃ§Ã¼Ã¿Ã£@ Å©Ã³Ã§ÃÃ .Ã©Ã».";
        input = "Ã¡Ã Ã£Ã¢Ã¢Ã¤ÃÃÃÃÃÃ©ÃªÃ«Ã¨ÃÃÃÃÃ­Ã¯Ã¬Ã®ÃÃÃÃÃ³ÃµÃ´Ã¶Ã²ÃÃÃÃÃºÃ¼Ã¹Ã»ÃÃÃÃÃ§ÃÃ±Ã";
        input = Normalizer.normalize(input, Normalizer.Form.NFD);
        input = input.replaceAll("[^\\p{ASCII}]", "");
        StringUtils.capitalize(input);
        System.out.println(input);
    }
}
